package com.chuang.bootplus.mapper;

import com.chuang.bootplus.entity.topic.Topic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Options;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chang
 * @since 2022-06-21
 */
public interface TopicMapper extends BaseMapper<Topic> {


    @Options(useGeneratedKeys = true, keyProperty = "id")
    @Override
    int insert(Topic entity);
}
